package com.youkeyi.ddy.cloud.common.api.basic.hr.employee.work;

import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.work.dto.HrEmployeeWorkExperienceListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.work.param.HrEmployeeWorkExperienceCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.work.param.HrEmployeeWorkExperienceDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.work.param.HrEmployeeWorkExperienceQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.work.param.HrEmployeeWorkExperienceUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * HrEmployeeWorkExperienceCloudServiceFallback
 *
 * @author  liuxiawang
 * @Date 2024/2/19 2:32 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/hr/employee/work/experience/fallback")
public class HrEmployeeWorkExperienceCloudServiceFallback implements HrEmployeeWorkExperienceCloudService {

    @Override
    public HrEmployeeWorkExperienceListCloudDto query(HrEmployeeWorkExperienceQueryCloudParam param) {
        return new HrEmployeeWorkExperienceListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(HrEmployeeWorkExperienceCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(HrEmployeeWorkExperienceUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(HrEmployeeWorkExperienceDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
